package com.sparrow.common.attr.listener;

import com.sparrow.common.attr.domain.Attr;
import com.sparrow.common.attr.domain.AttrModuleInst;

public interface AttrChangeListener {
    /**
     * @param inst 发生变化的实例
     * @param diff 属性差值（newAttr - oldAttr），可正可负
     */
    void onAttrChanged(AttrModuleInst inst, Attr diff);
}

